select situation_id,system_msg from mo_overall_situation limit 0,1

<form class="layui-form" action="" id="submitForm">
    <input type="hidden" id="situation_id" value="${SQL0[0].situation_id}" />
    <div class="layui-form-item">
        <label class="layui-form-label">公告</label>
        <div class="layui-inline layui-input-inline">
            <textarea style="width: 500px" class="layui-textarea" id="system_msg">${SQL0[0].system_msg}</textarea>
        </div>
    </div>
    <div class="layui-form-item">
        <button class="layui-btn layui-btn-small" type="button" onclick="fun_7()">
            <i class="layui-icon">&#xe615;</i> 提交
        </button>
    </div>
</form>


$.post("jsondata.json",{"id":${SQL0},"situation_id":$('#situation_id').val(),"system_msg":$('#system_msg').val()},function(data){
if (data.result == "success") {
layui.layer.msg("修改成功");
} else {
layui.layer.msg("修改失败");
}
})